package com.example.jobback.mapper;

import com.example.jobback.po.Manager;
import com.example.jobback.po.Seeker;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @InterfaceName: ManagerMapper
 * @Description: 管理员mapper
 * @Author: lhb
 * @Date: 2025/5/14
 */

@Mapper
public interface ManagerMapper {

    Manager getManagerByUserId(Long userId);

    int register(Manager manager);

    int editBasicMessage(@Param("manager")Manager manager);

    int deleteManager(Long userId);


    List<Manager> getManagers();

    List<Manager> getManagersByUserIds(@Param("userIds")List<Long> userIds);
}
